package ua.org.nuos.sdms.clientgui.server.exceptions;

/**
 * Created by IntelliJ IDEA.
 * User: dio
 * Date: 02.10.11
 * Time: 19:34
 * To change this template use File | Settings | File Templates.
 */
public class AuthenticationException extends Exception {
    private String login;

    public AuthenticationException(String login) {
        this.login = login;
    }

    public AuthenticationException(String message, String login) {
        super(message);
        this.login = login;
    }

    public AuthenticationException(String message, Throwable cause, String login) {
        super(message, cause);
        this.login = login;
    }

    public AuthenticationException(Throwable cause, String login) {
        super(cause);
        this.login = login;
    }

    public String getLogin() {
        return login;
    }
}
